﻿namespace NTLib.Pipe.Network.Exceptions
{
    using NTLib.Pipe.Exceptions;
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    /// <summary>
    /// Raised when you try to used a connector closed or not connected
    /// </summary>
    public class ConnectorClosedException : PipeException
    {
        #region Ctor

        /// <summary>
        /// Initializes a new instance of the <see cref="ConnectorClosedException"/> class.
        /// </summary>
        /// <param name="msg">The MSG.</param>
        /// <param name="inner">The inner.</param>
        public ConnectorClosedException(string msg = null, Exception inner = null)
            : base(msg, inner)
        {

        }

        #endregion
    }
}
